find_package(Boost QUIET COMPONENTS
    timer
    chrono
    thread
)

set(packages Boost::boost
    Boost::timer
    Boost::chrono
    Boost::thread)

if(Boost_FOUND)
    build_all_target(${packages})
else()
    get_filename_component(CURRENT_DIR_NAME "${CMAKE_CURRENT_SOURCE_DIR}" NAME)
    message(STATUS "${packages} not found! Skipping ${CURRENT_DIR_NAME}")
endif()
